golang/xenlight: Implement get console path operations
authorRonald Rojas <ronladred@gmail.com>
Wed, 5 Apr 2017 16:05:53 +0000 (17:05 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Thu, 6 Apr 2017 14:34:38 +0000 (15:34 +0100)
commit8766c5cc7dfe4d2f82844bddb79bf87fecb5a383
tree5ed1e771c9fbaf2d85e425e91c37abea500c8c95
parent58b9512b297da86f36fdde3682dba841917b7c1b
golang/xenlight: Implement get console path operations

Implement Golang enumeration of libxl_console_type
as ConsoleType

Implement the following libxl functions:
- libxl_console_get_tty
- libxl_primary_console_get_tty

Signed-off-by: Ronald Rojas <ronladred@gmail.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Ian Jackson <ian.jackson@citrix.com>
tools/golang/xenlight/xenlight.go